﻿using SqlSugar;
using System;

namespace Configuration.ServerApi.Entity
{
    /// <summary>
    /// 组态流程-组件属性配置信息表
    /// </summary>
    [SugarTable("bis_flow_assembly_config_attribute")]
    public class bis_flow_assembly_config_attribute
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 所属组件ID
        /// </summary>
        public string AssemblyConfigId { get; set; }

        /// <summary>
        /// 所属组件名称
        /// </summary>
        public string AssemblyConfigName { get; set; }

        /// <summary>
        /// 属性名称 (中文)
        /// </summary>
        public string CnName { get; set; }

        /// <summary>
        /// 属性名称 (英文)
        /// </summary>
        public string EnName { get; set; }

        /// <summary>
        /// 表单项类型  10: 文本框 20: 数值框 30: 下拉框 40: 单选框
        /// </summary>
        public string InputType { get; set; }

        /// <summary>
        /// 表单项数据源
        /// </summary>
        public string InputDataSource { get; set; }

        /// <summary>
        /// 控制器地址
        /// </summary>
        public string PlcAddress { get; set; }

        /// <summary>
        /// 参数类型  10: 字符串 20: 整数 30: 小数
        /// </summary>
        public string ParamType { get; set; }

        /// <summary>
        /// 参数默认值
        /// </summary>
        public string DefaultValue { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        public int? Sort { get; set; } = 0;

        /// <summary>
        /// 状态  0: 正常 1: 禁用
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 所属组织编号
        /// </summary>
        public string OrgGuid { get; set; }

        /// <summary>
        /// 所属组织名称
        /// </summary>
        public string OrgName { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public string CreateUser { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string CreateUserName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 最后更新人ID
        /// </summary>
        public string UpdateUser { get; set; }

        /// <summary>
        /// 最后更新人姓名
        /// </summary>
        public string UpdateUserName { get; set; }

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除  0: 未删除 1: 已删除
        /// </summary>
        public int? Del_Flag { get; set; } = 0;

    }
}
